// 错误边界配置选项
export interface ErrorBoundaryOptions {
  fallback?: (error: Error) => any
  onError?: (error: Error, errorInfo: any) => void
  showError?: boolean
}

// 错误边界事件
export interface ErrorBoundaryEvents {
  error: (error: Error, errorInfo: any) => void
}
